package com.mark.mall.web.platform.mapper;

import com.mark.mall.web.platform.dto.ProductDTO;
import com.mark.mall.web.platform.entity.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 物料表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2021-03-03
 */
public interface ProductMapper extends BaseMapper<Product> {

    /**
     * 获取首页物料列表展示
     *
     * @param searchName
     * @return
     */
    List<ProductDTO> listProductPageInfo(@Param("searchName") String searchName);
}
